import { PLATFORM_Map } from "@/constant/index";
import regulatoryauthorities from "@/assets/images/leftminsvg/regulatoryauthorities.svg?component";
export default {
	path: '/manageregulatory-authorities',
	redirect: '/manage/regulatory-authorities/regulatory-authorities',
	meta: {
		title: '监管单位',
		showLink: true,
		rank: 9,
		icon: regulatoryauthorities,
		platform: [PLATFORM_Map.manage]
	},
	children: [
		{
			name: 'regulatory-authorities',
			path: '/manage/regulatory-authorities/regulatory-authorities',
			component: () => import('@/views/manage/regulatory-authorities/regulatory-authorities/index.vue'),
			meta: {
				title: '监管项目',
				showParent: true,
				roles:['system.project-empower.select']
				
			}
		},
		{
			name: 'regulatory-family',
			path: '/manage/regulatory-authorities/regulatory-family',
			component: () => import('@/views/manage/regulatory-authorities/regulatory-family/index.vue'),
			meta: {
				title: '监管家庭',
				showParent: true,
				roles:['system.family-unity.select']
			}
		},
		{
			name: 'regulatory-alerts',
			path: '/manage/regulatory-authorities/regulatory-alerts',
			component: () => import('@/views/manage/regulatory-authorities/regulatory-alerts/index.vue'),
			meta: {
				title: '监管告警',
				showParent: true,
				roles:['system.alarm.superviseAlarmList']
			}
		},
		{
			name: 'regulatory-device',
			path: '/manage/regulatory-authorities/regulatory-device',
			component: () => import('@/views/manage/regulatory-authorities/regulatory-device/index.vue'),
			meta: {
				title: '监管设备',
				showParent: true,
				roles:['system.sup-device.select']
				
			}
		},
	]
} satisfies RouteConfigsTable;
